<?php
namespace app\index\controller;
use think\Request;
use think\Response;
use app\common\controller\Base;

class Index extends Base
{
    public function index()
    {
        $param = input();
        if ($param) {
            foreach ($param as $key => $value) {
                $this->assign($key,$value);
            }
        }
        
        $this->assign('siteTitle',$this->settingInfo['diyTitle'] ? $this->settingInfo['diyTitle'] : $this->settingInfo['siteName'] . $this->settingInfo['indexTitle']);
        $this->assign('siteKeywords',$this->settingInfo['keywords']);
        $this->assign('siteDescription',$this->settingInfo['description']);
        
        return $this->siteView('index/index');
    }
    
}
